package Game;

import java.awt.*;

public class ShellObj extends GameObject{
    public ShellObj(Image image, int x, int y, int width, int length, double speed, GameWindow frame) {
        super(image, x, y, width, length, speed, frame);
    }

    @Override
    public Rectangle getRec() {
        return super.getRec();
    }

    @Override
    public void paintSelf(Graphics gImagine) {
        super.paintSelf(gImagine);
        y-=speed;
    }

    public ShellObj() {
        super();
    }

    @Override
    public Image getImage() {
        return super.getImage();
    }
}
